<template>
	<view>
		<video id="videoOne" style="width: 100%;height: 100vh;z-index: 1;" muted :vslide-gesture-in-fullscreen="false" :show-loading="false" :show-center-play-btn="false" :show-play-btn="false" :show-fullscreen-btn="false" :enable-progress-gesture="false" :controls="false" :src="videoUrl" :autoplay="true" :loop="true" object-fit="cover"></video>
		<cover-view class="pos-fix wd100" style="z-index: 999;top: 100rpx;">
			<view class="c-fff fs24" style="margin-left: 50rpx;">Xiaomi SU7</view>
			<view class="c-fff mt10 fs20" style="margin-left: 50rpx;">人车合一，我心澎湃</view>
		</cover-view>
		<cover-view class="pos-fix dis-flex flex-center wd100" style="z-index: 999;bottom: 100rpx;">
			<view @tap="$api.openWindow('/pages/login/login','redirectTo')" style="background: #35414199;width: 400rpx;" class="c-fff br5 dis-flex flex-center py15 fs18">立即登录</view>
		</cover-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				videoUrl:'https://dachujiusheng.oss-cn-shenzhen.aliyuncs.com/7f36a2179ce9a693b0dccfe8590b028c.mp4',
			}
		},

		onLoad(option) {
			let videoOneContext = uni.createVideoContext("videoOne", this);
			videoOneContext.play();
		},

		methods: {}
	}
</script>

<style lang="scss">
	
</style>
